projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c1562f
)
(compilation-error-regexp-alist):
author
Richard M. Stallman
<rms@gnu.org>
Fri, 10 May 2002 01:00:07 +0000
(
01:00
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 10 May 2002 01:00:07 +0000
(
01:00
+0000)
New element to recognize Python error messages.
lisp/progmodes/compile.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/compile.el
b/lisp/progmodes/compile.el
index c1f8b9b345afe716317c0e2020070258625cb6be..689c095f521175d67cb49f4b82e257e38a75ef0a 100644
(file)
--- a/
lisp/progmodes/compile.el
+++ b/
lisp/progmodes/compile.el
@@
-363,6
+363,10
@@
of[ \t]+\"?\\([a-zA-Z]?:?[^\":\n]+\\)\"?:" 3 2)
(".*\"\\([^,\" \n\t]+\\)\", lines? \
\\([0-9]+\\)\\([\(.]\\([0-9]+\\)\)?\\)?[:., (-]" 1 2 4)
+ ;; Python:
+ ;; File "foobar.py", line 5, blah blah
+ ("^File \"\\([^,\" \n\t]+\\)\", line \\([0-9]+\\)," 1 2)
+
;; Caml compiler:
;; File "foobar.ml", lines 5-8, characters 20-155: blah blah
("^File \"\\([^,\" \n\t]+\\)\", lines? \\([0-9]+\\)[-0-9]*, characters? \\([0-9]+\\)" 1 2 3)